<?php
use frontend\widgets\post\PostWidget;
use frontend\widgets\hot\HotWidget;
use yii\base\Widget;
use yii\helpers\Url;
use frontend\widgets\tag\TagWidget;
?>



<div class="row">
    <div class="col-lg-9"><?=PostWidget::widget();?>
    </div>
    <div class="col-lg-3">
        <div class="panel">
            <a href="<?=Url::to(['posts/create'])?>"><button class="btn btn-warning no-radius btn-sm pull-full">创建文章</button></a>
        </div>
        <div class="panel">
            <!--热门浏览组件调用-->
            <?=HotWidget::widget();?>
        </div>
        <!--标签云组件调用-->
        <?=TagWidget::widget();?>
    </div>
</div>